package com.fan.dao;

import com.fan.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author およそ神
 * @version JDK 16
 */
public interface TeacherMapper {
    /**
     * teacherにすべての情報を照会する
     * @param id
     * @return
     */
    @Select("select * from teacher where id= #{tid} ")
    Teacher getTeacher(@Param("tid")int id);
}
